package com.ysd.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.utils.PageUtils;
import com.ysd.gulimall.product.entity.AttrGroupEntity;
import com.ysd.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.ysd.gulimall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zhangjianzhong
 * @email ziziss@163.com
 * @date 2020-07-13 09:11:16
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId( Long catelogId);

    /**
     * lyw
     */
    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

